package ni;

import java.net.InetAddress;

import cs.remoteapp.FileAnswer;
import cs.remoteapp.FileMessage;
import cs.remoteapp.Message;
import cs.remoteapp.TextMessage;
import model.User;
/**
 * Interface implemented by ChatNI
 * Contains the methods to send and receive message
 * Package  ni
 * Project ChatSystemG5 - INSA 4INFOA1 - 2013/2014
 * @author Thomas Vuillemin Martin Conant
 */
public interface RemoteApp {
	public void sendHello(boolean connection, User adressee);
	public void sendGoodBye();
	public void processReceive(Message receivedMessage,  InetAddress senderIP);
	void sendTxtMsg(TextMessage message, User adressee);
	void sendFileRequest(model.FileMessage message, User adressee);
	void sendFile(model.FileMessage message, User user);
	void sendFileAnswer(FileAnswer fileAnswer, User Adressee);
	
}
